import "utils/laya.custom.js";
import "ui/layaUI.max.all.js";
import { socket } from "ctrl/socket";
import SenseManager from "utils/SenseManager";
import BattleSense from "battle/BattleSense";
import { COMMON_ASSET } from "const/assets";


const { Stage, Sprite, Event, Handler, Text } = Laya;

export default function App() { 
    var stage;
    Laya.init(1480, 720, Laya.WebGL);
    stage = Laya.stage;
    stage.scaleMode = Stage.SCALE_FIXED_WIDTH;
    stage.alignH = Stage.ALIGN_CENTER;
    stage.alignV = Stage.ALIGN_MIDDLE;
    stage.screenMode = Stage.SCREEN_HORIZONTAL;
    Laya.stage.frameRate="slow";
    SenseManager.loadSense('/battle');
}
